package com.passioneffect.events {
	import flash.events.Event;
	
	import com.passioneffect.display.Component;	

	/**
	 * @author Passion Effect
	 */
	public class PEEvent extends Event {
		public static var CLICK_ITEM:String="click_item";
		public static var SCROLL_TO_ITEM:String="scroll_to_item";
		public static var MOUSE_OVER_ITEM:String="mouse_over_item";
		public static var MOUSE_OUT_ITEM:String="mouse_out_item";
		public static var INIT:String="init";
		public static var XML_LOADED:String="xml_loaded";
		public static var STYLE_XML_LOADED:String="style_xml_loaded";
		public static var FINISH_SCROLL_TO_ITEM : String="finish_scroll_to_item";
		public static var CUE_POINT : String="cue_point";
		public static var UNSELECT : String="unselect";
		public static var SELECT: String="select";
		public static var RESIZE: String="resize";
		
		public var index:int;
		public var data: Object;
		public static var COMPLETE : String="complete";
		public var originalComponent:Component;
		
		public function PEEvent(type : String,index:int=0,data:Object=null,comp:Component=null) {
			super(type, false,false);
			this.index=index;
			this.data=data;
			this.originalComponent=comp;
		}
	}
}
